package com.intelligent.feign;

import com.intelligent.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("intelligent-login")
public interface UserApi {
    @GetMapping("/feign/user/byId")
    User getById(@RequestParam("id") Long id);
}
